package com.woniuxy.yogaapp.mapper;

import com.woniuxy.yogaapp.pojo.ClubImage;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author: wanghao
 * @Date: 2019/8/9 11:10
 */
public interface ClubImageMapper {

    /**
     * 根据yid查找图片
     * @param yid
     * @return
     */
    @Select("select * from clubimage where yid = #{yid}")
    List<ClubImage> findImage(Integer yid);
}
